package middleware

import (
	"sensi/common/sys"

	"github.com/gin-gonic/gin"
)

// WithDB ...
func WithDB(ctx *gin.Context) {
	ctx.Set("db", sys.DB)
}
